input()l = list(input().split(' '))l.pop()l = list(map(int, l))l.sort()i = 0while i < len(l):    print(l[i], end= ' ')    i = i + 1